package com.pig4cloud.pigx.ruralLibrary.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pig4cloud.pigx.common.core.util.R;
import com.pig4cloud.pigx.ruralLibrary.api.entity.BookUserEntity;
import com.pig4cloud.pigx.ruralLibrary.api.dto.townshipUserStatisticsVo;

import java.util.List;
import java.util.Map;

public interface informationStatisticsService {

	R registerList(BookUserEntity bookUser);

	R peopleList(BookUserEntity bookUser);

	R browseList();

	R totalUsers(BookUserEntity bookUser);

	R resourceAnalysis();

	R accessSource();

	R numberPeople(Page page, String name);

	R activeArea(Page page, String name);

	R getNewUsers(String startTime,String endTime);

	R getRead(String startTime,String endTime);

	List<townshipUserStatisticsVo> townshipUserStatistics(Page page, townshipUserStatisticsVo townshipUserStatisticsVo);

	Map Statistics();
}
